<?php // the string format is that of PHP sprintf () function
	// *** CLASS App ***
	define ('M__APP_ERR_GETOPT', 'Function getopt () failed, please check the command line');
	define ('M__APP_VERSION', '%1$s version %2$s');
	define ('M__APP_USAGE_HEADER', "Usage: %s [<options>]\nATTENTION! Due to PHP's getopt () behaviour, please DO NOT use a space to separate value from option!\nWRONG EXAMPLE: script.php -o value\nRight example: script.php -o=value\nAvailable options:");
	define ('M__APP_USAGE_LINE', ' -%1$-4s %2$s');
	define ('M__APP_OPTIONS_DEBUG_HEADER', "Command-line options debug table\nOption | Explicit | Value");
	define ('M__APP_OPTIONS_DEBUG_LINE', '%1$-6s | %2$-8s | %3$s');
	define ('M__APP_CRASHING', 'Crashing the application');
	define ('M__APP_AIRBORNE', "Let's get dangerous -- entering the main loop");
	define ('M__APP_SIG_CRASH', 'Caught signal %s, adding crash to the queue');
	define ('M__APP_SIG_CONF', 'Caught signal %s, adding reconfig to the queue');
	define ('M__APP_CONF_INIT', 'Configuring the application');
	define ('M__APP_CONF_ERR_READ', 'Config file "%s" cannot be read');
	define ('M__APP_CONF_ERR_JSON', 'JSON parser failed on config file "%1$s" with error "%2$s" (%3$s)');
	define ('M__APP_CONF_ERR_FIRST', 'Cannot process config file "%s", aborting');
	define ('M__APP_CONF_DEBUG_JSON', 'JSON array debug output:');
	define ('M__APP_CONF_NO_SOCKETS', 'No sockets defined in config file, so I am not listening');
	define ('M__APP_CONF_SOCKET_CREATE', 'Creating socket "%s"');
	define ('M__APP_CONF_SOCKET_X', 'Error creating socket "%1$s": %2$s (%3$s)');
	define ('M__APP_CONF_ERR_PDO_NDEF', 'No PDO or DSN defined in config file "%s"');

	// *** CLASS CommandLineOptionLogLevel ***
	define ('M__CLO_ERR_SYSLOG_LEVEL', 'Unknown syslog level, known are: %s');

	// *** CLASS Daemon ***
	define ('M__D_FORK_INIT', 'Forking out');
	define ('M__D_FORK_OK', 'Forked out successfully');
	define ('M__D_FORK_ERR', 'Fork failed');
	define ('M__D_CONF_CHXID_NO', '%1$s is already %2$s, no reason to change');
	define ('M__D_CONF_CHXID_ERR', 'Error changing %1$s to %2$s, is left at %3$s');
	define ('M__D_CONF_CHXID_OK', 'Changed %1$s to %2$s');
	define ('M__D_PID_CREATE_ERR', 'Error saving pid %1$s to pidfile "%2$s"');
	define ('M__D_PID_CREATE_OK', 'Dumped my pid %1$s into pidfile "%2$s" (wrote %3$s bytes)');
	define ('M__D_PID_REMOVE_ERR', 'Error removing pidfile "%1$s"');

	// *** CLASS Socket ***
	define ('M__SOCK_CREATED', 'Created socket "%1$s:%2$s"');
	define ('M__SOCK_CLOSING', 'Closing socket "%1$s:%2$s"');

	// *** CLASS Connection ***
	define ('M__CON_ERR_NONBLOCK', 'Error unblocking socket: "%1$s" (%2$s)');
	define ('M__CON_ERR_SELECT', 'Error running socket_select(): "%1$s" (%2$s)');

/*
	define ('M__', '');
*/
?>